<template>
  <div>
    <!-- 收货地址 -->
    <div class="total">
      <el-form :label-position="labelPosition" label-width="100px" :model="formLabelAlign">
        <el-form-item label="昵称">
          <el-input v-model="formLabelAlign.name"></el-input>
        </el-form-item>
        <el-form-item label="手机号码">
          <el-input v-model="formLabelAlign.phone"></el-input>
        </el-form-item>
        <el-form-item label="收货地址">
          <el-input type="textarea" :rows="5" v-model="formLabelAlign.address"></el-input>
        </el-form-item>
        <el-form-item>
          <el-button type="warning" @click="preserve()">确认保存</el-button>
        </el-form-item>
      </el-form>
    </div>
  </div>
</template>

<script>
  export default {
    data() {
      return {
        labelPosition: 'left',
        formLabelAlign: {
          name: '',
          phone: '',
          address: ''
        }
      };
    }
  }
</script>

<style lang="scss" scoped>

</style>
<style>
.el-input {
  width: 300px;
}
.el-textarea__inner {
  width: 400px;
}
</style>